#version 300 es
precision mediump float;
precision highp int;

uniform mediump sampler2D u_tex0;

in highp vec4 v_fragmentColor;
in highp vec2 v_texCoord;
layout(location = 0) out highp vec4 FragColor;

void main()
{
    highp vec4 sampledPixel = vec4(v_fragmentColor * texture(u_tex0, v_texCoord));
    highp float grayness = dot(sampledPixel.xyz, vec3(0.300000011920928955078125, 0.300000011920928955078125, 0.3499999940395355224609375));
    FragColor = vec4(grayness, grayness, grayness, sampledPixel.w);
}

